count sections in a ini db
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(IniList), | intent(in) | :: | ini |
FUNCTION GetNofSections & ( ini ) & RESULT (count) IMPLICIT NONE ! function arguments !arguments with intent(in): TYPE (IniList), INTENT(in) :: ini !Local scalar: INTEGER (KIND = short) :: count !------------end of declaration------------------------------------------------ count = ini % nOfSections RETURN END FUNCTION GetNofSections